package com.dianban.utils;

import org.apache.catalina.SessionIdGenerator;
import org.springframework.util.IdGenerator;

import java.util.UUID;

public class IdGen{

    public static String uuid(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }

    public static void main(String[] args) {
        System.out.print(IdGen.uuid());
    }
}
